package com.tilaiedu.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author xlzhang
 * @Date 2022/5/24 11:41
 * @Version 1.0
 * @Description TODO
 */
@Controller
public class IndexController {

    @GetMapping({"/","/index.html"})
    public String openIndex(){
        return "index";
    }
}
